package com.hzj.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.hzj.pojo.SmbmsUser;
import com.hzj.mapper.SmbmsUserMapper;
import com.hzj.service.SmbmsUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author hzj
 * @since 2021-04-14
 */
@Service
@org.apache.dubbo.config.annotation.Service
public class SmbmsUserServiceImpl extends ServiceImpl<SmbmsUserMapper, SmbmsUser> implements SmbmsUserService {
    @Autowired
    SmbmsUserMapper sum;

    @Override
    public SmbmsUser checkUser(SmbmsUser smbmsUser) {
        QueryWrapper wrapper = new QueryWrapper(smbmsUser);


        return sum.selectOne(wrapper);
    }
}
